package com.kaili.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
@TableName("hs_opt_rewb")
public class HsOptRewb implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 回单号
     */
    @TableField("rewb_no")
    private String rewbNo;
    /**
     * 运单号
     */
    @TableId("ewb_no")
    private String ewbNo;
    /**
     * 确认寄送操作员id
     */
    @TableField("send_operation_id")
    private Long sendOperationId;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createdTime;
    /**
     * 创建人
     */
    @TableField("created_by")
    private Integer createdBy;
    /**
     * 确认寄送时间
     */
    @TableField("send_confirm_time")
    private Date sendConfirmTime;
    /**
     * 确认验收时间
     */
    @TableField("check_confirm_time")
    private Date checkConfirmTime;
    /**
     * 确认返厂时间
     */
    @TableField("return_confirm_time")
    private Date returnConfirmTime;
    /**
     * 是否删除标识  1未删除  0 已删除
     */
    @TableField("rd_status")
    private Integer rdStatus;
    /**
     * 回单状态  0 未寄  1已寄  2已验收  3已返厂
     */
    @TableField("rewb_status")
    private Integer rewbStatus;

    @TableField("checked_by")
    private Integer checkedBy;

    @TableField("returned_by")
    private Integer returnedBy;

    @TableField("express_id")
    private Integer expressId;

    @TableField("source_type")
    private Integer sourceType;

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    public Integer getExpressId() {
        return expressId;
    }

    public void setExpressId(Integer expressId) {
        this.expressId = expressId;
    }

    public Integer getCheckedBy() {
        return checkedBy;
    }

    public void setCheckedBy(Integer checkedBy) {
        this.checkedBy = checkedBy;
    }

    public Integer getReturnedBy() {
        return returnedBy;
    }

    public void setReturnedBy(Integer returnedBy) {
        this.returnedBy = returnedBy;
    }

    public String getRewbNo() {
        return rewbNo;
    }

    public void setRewbNo(String rewbNo) {
        this.rewbNo = rewbNo;
    }

    public String getEwbNo() {
        return ewbNo;
    }

    public void setEwbNo(String ewbNo) {
        this.ewbNo = ewbNo;
    }

    public Long getSendOperationId() {
        return sendOperationId;
    }

    public void setSendOperationId(Long sendOperationId) {
        this.sendOperationId = sendOperationId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Date getSendConfirmTime() {
        return sendConfirmTime;
    }

    public void setSendConfirmTime(Date sendConfirmTime) {
        this.sendConfirmTime = sendConfirmTime;
    }

    public Date getCheckConfirmTime() {
        return checkConfirmTime;
    }

    public void setCheckConfirmTime(Date checkConfirmTime) {
        this.checkConfirmTime = checkConfirmTime;
    }

    public Date getReturnConfirmTime() {
        return returnConfirmTime;
    }

    public void setReturnConfirmTime(Date returnConfirmTime) {
        this.returnConfirmTime = returnConfirmTime;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    public Integer getRewbStatus() {
        return rewbStatus;
    }

    public void setRewbStatus(Integer rewbStatus) {
        this.rewbStatus = rewbStatus;
    }

    @Override
    public String toString() {
        return "HsOptRewb{" +
        ", rewbNo=" + rewbNo +
        ", ewbNo=" + ewbNo +
        ", sendOperationId=" + sendOperationId +
        ", remark=" + remark +
        ", createdTime=" + createdTime +
        ", createdBy=" + createdBy +
        ", sendConfirmTime=" + sendConfirmTime +
        ", checkConfirmTime=" + checkConfirmTime +
        ", returnConfirmTime=" + returnConfirmTime +
        ", rdStatus=" + rdStatus +
        ", rewbStatus=" + rewbStatus +
        "}";
    }
}
